package com.mjf.jst.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * desc
 * </p>
 *
 * @author chenshoumeng
 * @date 2025/7/6 21:23
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class WMSInfoVO {
    private Integer code;
    private String msg;
    private WMSInfoData data;


    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class WMSInfoData {
        private Integer page_index;
        private Integer page_size;
        private Boolean has_next; // 是否有下一页
        private List<WMSInfoDataList> datas;
    }
    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class WMSInfoDataList {
        /**
         * 分仓名称
         */
        private String name;

        /**
         * 主仓公司编号
         */
        private Integer co_id;

        /**
         * 分仓编号
         */
        private Integer wms_co_id;

        /**
         * 是否为主仓，true=主仓
         */
        private Boolean is_main;

        /**
         * 状态
         */
        private String status;

        /**
         * 对方备注
         */
        private String remark1;

        /**
         * 我方备注
         */
        private String remark2;

    }
}
